import enumOpts from '@/libs/enumOptions';
export default {
  /** 总线事件 */
  BUS_EVENT: {
    // 树选择
    TREE_SELECT: 'treeSelect',
    // 当窗口大小改变、标签显示切换时，触发此事件
    RESIZE: 'resize'
  },

  GROUP_CLZ: {
    regions: [
      enumOpts.Clz.country,
      enumOpts.Clz.province,
      enumOpts.Clz.city,
      enumOpts.Clz.district,
      enumOpts.Clz.town,
      enumOpts.Clz.department
    ],

    containers: [enumOpts.Clz.line, enumOpts.Clz.substation, enumOpts.Clz.bay],

    terminals: [enumOpts.Clz.distribution, enumOpts.Clz.distribution],

    collectors: [
      enumOpts.Clz.collector,
      enumOpts.Clz.voltmeter,
      enumOpts.Clz.groundmeter,
      enumOpts.Clz.thermometer
    ]
  }
};
